//
// SevenMain.cpp
// =============
// Main entrance of the application.
//

#include "SevenHeader.h"
//#include "application.h"
//#include "DebugManager.h"

int WINAPI WinMain(HINSTANCE hInstance,
				   HINSTANCE hPrevInstance,
				   LPSTR lpCmdLine,
				   int nShowCmd)
{
	int retval = 0;
	//CDebugManager::createInstance();
	try {
		//CApplication::Ptr app(dcnew CApplication());
		//retval = app->load(hInstance, hPrevInstance, lpCmdLine, nShowCmd);
	} catch (std::exception &e) {
		//CDebugManager::getInstance()->print(TEXT(__FILE__), __LINE__, TEXT(__FUNCTION__),
		//	L"Unhandled exception: %S", e.what());
	}
	//CDebugManager::releaseInstance();
	return retval;
}
